<script src="<{$xoops_url}>/modules/xanhte/js/prototype.js"></script>
<{$xoops_module_header}>
<h3><{$smarty.const._MI_OPINION_RESTART}></h3>
<{if count($errors)>0}>
<ul class="error">
<{foreach from=$errors item=e}>
<li><{$e}></li>
<{/foreach}>
</ul>
<{/if}>
<form name='poll_form' id='poll_form' action='index.php' method='post'>
<input type="hidden" name="poll_id" value="<{$form.poll_id}>">
<input type="hidden" name="action_admin_opinion_restart_do" value="1">
<table width='100%' class='outer' cellspacing='1'>
	<tr><th colspan='2'><{$smarty.const._MI_OPINION_RESTART}></th></tr>
	<tr valign='top' align='left'><td class='head'><{$smarty.const._MI_OPINION_EDITOR}></td><td class='even'><a href='<{$xoops_url}>/userinfo.php?uid=<{$app.editor.uid}>'><{$app.editor.uname}></a></td></tr>
	<tr valign='top' align='left'>
		<td class='head'><{$smarty.const._MI_OPINION_AF_question}></td>
		<td class='even'><{$app.poll.question}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{$smarty.const._MI_OPINION_AF_description}></td><td class='even'><{$app.poll.description|nl2br}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'><{$smarty.const._MI_OPINION_FINISH}></td>
		<td class='even'><{form_xdate name='end_time' addtimeselect=1}></td>
	</tr>
	<tr valign='top' align='left'>
		<td class='head'></td>
		<td class='even'>
			<input type='button' class='formButton' value='<{$smarty.const._SUBMIT}>' onclick='if(confirm("<{$smarty.const._MI_OPINION_CONFIRM_MSG}>")){document.poll_form.submit();}'/>
		</td>
	</tr>
</table>
</form>
